package com.solomiao.demo.multi.thread.demo4;

import com.solomiao.demo.multi.thread.demo3.MainDemo3;

public class ThreadImplementDemo41 implements Runnable {

    @Override
    public void run() {
        System.out.println("子线程：开始运行...");
        try {
            // 处理业务
            Thread.sleep(5000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("子线程：运行结束...");
    }

}
